import os
FileList = os.listdir("D:\\song\\")
SongList = []
for file in FileList:
    if "(ver.mini)" in file:
        SongList.append(file[:file.rfind("(ver.mini)")])
        continue
    else:
        SongList.append(file[:file.rfind(".")])
        continue
MoveList = []
MoveCommand = []
for file in SongList:
    if SongList.count(file) > 1:
        for file2 in FileList:
            if file in file2 and os.path.getsize(file2)//1048576 >= 10:
                    MoveList.append("os.rename(\"D:\\song\\"+file2+"\",\"D:\\song\\origin\\"+file2+"\")")
                    continue
count = 0
while count < len(MoveList):
    if count % 2 != 1:
        MoveCommand.append(MoveList[count])
    count += 1
for command in MoveCommand:
    print(command)